import com.alibaba.fastjson.JSONObject;
import com.jn.exam.webSocket.entity.MessageResult;
import org.junit.Test;

/**
 * @author 江南大学1033190417
 * @date 2022/3/4 19:23
 */
public class test {

    @Test
    public void test01(){
        MessageResult messageResult=new MessageResult("1","你好",1);
        System.out.println(JSONObject.toJSONString(messageResult));
    }
}
